/**
 * 
 */
package com.hellabright.cleanplate;


import android.app.ListActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.TextView;


/**
 * @author Oliver
 *
 */
public class Dish {

	String name, description;
	Double price;
	int dishID, menuID, restaurantID;
	
	public Dish( String name, String description, Double price, int dishID, int menuID, int restaurantID ) {
		this.name = name;
		this.description = description;
		this.price = price;
		this.dishID = dishID;
		this.menuID = menuID;
		this.restaurantID = restaurantID;
	}
	
	String getName() {
		return name;
	}
	
	String getDescription() {
		return description;
	}
	
	Double getPrice() {
		return price;
	}
	
	int getDishID() {
		return dishID;
	}
	
	int getMenuID() {
		return menuID;
	}
	
	int getRestaurantID() {
		return restaurantID;
	}
	
	void setName( String name ) {
		this.name = name;
	}
	
	void setDescription( String description ) {
		this.description = description;
	}
	
	void setPrice( Double price ) {
		this.price = price;
	}
	
	void setDishID( int dishID ) {
		this.dishID = dishID;
	}
	
	void setMenuID( int menuID ) {
		this.menuID = menuID;
	}
	
	void setRestaurantID( int restaurantID ) {
		this.restaurantID = restaurantID;
	}
	
	public String toString() {
		String returnString = getName() + ", " + getDescription() + ", " + getPrice() + ", " + getDishID() + ", " + getMenuID() + ", " + getRestaurantID();
		return returnString;
	}
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		Dish steak = new Dish( "T-Bone", "Grilled lightly on both sides", 24.99, 3, 7, 15 );
		Log.d("Testing", steak.toString());

	}

}
